package com.smbms.service.impl;

import com.smbms.dao.BillMapper;
import com.smbms.pojo.Bill;
import com.smbms.service.BillService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BillServiceImpl implements BillService {
    @Resource
    private BillMapper billMapper;
    @Override
    public int getBillCount(String productName, Integer providerId, Integer isPayment) {
        return billMapper.getBillCount(productName,providerId,isPayment);
    }

    @Override
    public List<Bill> getBillList(Map<String, Object> data) {
        return billMapper.getBillList(data);
    }
}
